package com.example.login.com.czf.dao;

import com.example.login.com.czf.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Flamenco
 */
@Repository
public interface UserMapper {
    
    User login(User user);

    int update(@Param(value = "newpassword")String newpassword, @Param(value = "userCode") String userCode);
}
